package com.bto.leasetest.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 王小波
 * @description:
 * @date 2023/8/3 11:52
 */
@NoArgsConstructor
@Data
public class FileContractPushBody extends RequestBase<FileContractPushBody> {
    @JsonProperty("keyType")
    private String keyType;
    @JsonProperty("businessKey")
    private String businessKey;
    @JsonProperty("fileList")
    private List<FileListDTO> fileList;

    @NoArgsConstructor
    @Data
    public static class FileListDTO {
        @JsonProperty("fileCode")
        private String fileCode;
        @JsonProperty("fileName")
        private String fileName;
        @JsonProperty("fileAddress")
        private String fileAddress;
    }
}
